package com.linn.home.entity;

/**
 * 树状node
 * Created by Administrator on 2018/8/9.
 */
public class Node {
    /**
     * ID
     **/
    private String id;

    /**
     * 上级ID
     **/
    private String pId;

    /**
     * 名称
     **/
    private String name;

    /**
     * 是否展开
     **/
    private String open;

    /**
     * 是否选中
     **/
    private String checked;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOpen() {
        return open;
    }

    public void setOpen(String open) {
        this.open = open;
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return "Node{" +
                "id='" + id + '\'' +
                ", pId='" + pId + '\'' +
                ", name='" + name + '\'' +
                ", open='" + open + '\'' +
                ", checked='" + checked + '\'' +
                '}';
    }
}
